package com.yy.cleaner.common;

/**
 * 响应枚举类
 */
public enum ErroConstant {
    ACCOUNT_OR_PASSWORD_WRONG(500,"账号或密码错误"),
    SUCCESS(200,"请求成功");

    private  final int code;
    private  final String message;

   ErroConstant(int code, String message){
        this.code = code;
        this.message = message;
    }

    public int getCode(){
       return code;
    }

    public String getMessage(){
       return message;
    }
}
